<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
	<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
		<!DOCTYPE html>
		<html>

		<head>
			<meta charset="utf-8">
			<meta http-equiv="X-UA-Compatible" content="IE=edge">
			<meta name="viewport" content="width=device-width, initial-scale=1">
			<title data-localize="ms_upHomework"></title>
			<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css">
			<link rel="stylesheet" href="./style/page.css">
			<link rel="stylesheet" href="./style/homewks.css">
			<!--[if lt IE 9]>
	<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
	<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
	<![endif]-->
			<script type="text/javascript">
				var Role = '<%=session.getAttribute("password") %>';
				var User = '<%=session.getAttribute("username")%>';
				var UserID = '<%=session.getAttribute("userid")%>';
			</script>
			<script src="script/vue.js"></script>
		</head>

			<body ondragstart="return false;">

			<div id="container" class="container-fluid">
				<div class="form-inline" style="display:none">
					<label class="queryCourse" data-localize="lm_lessonSlc"></label>
					<div class="input-group completer">
						<div id="inputlistcontentdiv" class="input-group-btn">
							<input type="text" data-localize="kc_querylessontips" class="form-control" id="querystring" onkeyup="completer_click()" />
							<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
							    onclick="getQuerylessonname()">
								<span class="caret"></span>
								<span class="sr-only"></span>
							</button>
							<ul class="dropdown-menu querymenu">
							</ul>
						</div>
					</div>
				</div>
				<ul class="media-list">
					<li class="media lessonbottomHr" v-for='val in lessonlist'>
						<a class="media-left" href="#">
								<img :src="val.image" class="lessonimg">
							</a>
						<div class="media-body">
							<h3 class="media-heading lessonTitle">{{val.name}}</h3>
							<p class="lessontxt">{{val.description}}</p>
							<a role="button" class="btn lessonBtn" data-localize="ms_upHomework" :href="'uploadhwk?id='+val.id+'&p='+val.phase" target="_blank"></a>
							<p class="pici"><span data-localize="hw_edun"></span>：{{val.culab}}/{{val.tolab-val.culab}}</p>

						</div>
					</li>

				</ul>




			</div>
			<script src="http://cdn.bootcss.com/jquery/1.12.1/jquery.min.js"></script>
			<script src="http://cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
			<script src="script/jquery.i18n.properties.min.js"></script>
			<script src="script/jquery.i18n.init.js"></script>
			<script src="script/layerui/layer.js"></script>

			<script src="script/homewks.js"></script>
		</body>

		</html>